#include "server.h"

server::server(int i) {
    flag=i;
}

void server::run()
{
    switch (flag) {
    case 1:
        server_1();
        break;
    case 2:
        server_2();
        break;
    default:
        break;
    }
}

void server::server_1()
{
    system("./http_server.sh");
}

void server::server_2()
{
    system("./pose_server.sh");
}
